﻿using System.Data.Entity.ModelConfiguration;
using ObjectModel;

namespace DataAccess
{
    class RoleConfiguration : EntityTypeConfiguration<UserRole>
    {
        public RoleConfiguration()
        {
            Property(p => p.Name).IsRequired();
        }
    }
}
